package com.epoint.mobile.demo.tab;

import java.util.Map;

import android.os.Message;

import com.epoint.mobileoa.bizlogic.NewTask;
import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.tools.HttpUtil;

/**
 * @author liyc
 * @time 2013-2-5 上午9:32:38
 * @annotation
 */
public class TestReflectInvokeTask extends NewTask {

	public TestReflectInvokeTask(SuperView sv, int taskID,
			Map<String, Object> param, String progressMsg,
			int progressDialogType) {
		super(sv, taskID, param, progressMsg, progressDialogType);
		// TODO Auto-generated constructor stub
	}
	
	

	@Override
	public void exectue(Message mess) throws Exception {
		// TODO Auto-generated method stub
		//StringHelp.getMsiUrl(sv)+"?requestMethod=com.epoint.mobileoa.modules.MobileOaCommon;GetServerTime&param1=liyc&param2=李亚春&param3=456";
		String seamurl = fp.generateMsiUrl("com.epoint.mobileoa.modules.MobileOaCommon;GetServerTime","liyc","李亚春","123");
		System.out.println(seamurl);
		String bs = HttpUtil.getHttpBack(seamurl);
		setMessageToRefreshUI(mess, bs);
	}

}
